package com.kooison.trafficMonitor.database;

import java.util.Date;

import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

@PersistenceCapable
public class Camera {

	@PrimaryKey
	@Persistent
	private String id;
	
	@Persistent
	private String latlng;
	
	@Persistent
	private String imgPath;

	@Persistent
	private Date lastModified;
	
	public Camera(String id, String latlng, String imgPath, Date lastModified) {
		this.id = id;
		this.latlng = latlng;
		this.imgPath = imgPath;
		this.lastModified = lastModified;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getLatlng() {
		return latlng;
	}

	public void setLatlng(String latlng) {
		this.latlng = latlng;
	}

	public String getImgPath() {
		return imgPath;
	}

	public void setImgPath(String imgPath) {
		this.imgPath = imgPath;
	}

	public Date getLastModified() {
		return lastModified;
	}

	public void setLastModified(Date lastModified) {
		this.lastModified = lastModified;
	}
	
	
}
